TEMPLATE = app
TARGET = x2play
DEPENDPATH += .
PKGCONFIG += xmms2-client xmms2-client-cpp
CONFIG += link_pkgconfig debug
INCLUDEPATH += .
QMAKE_CXXFLAGS_WARN_ON += -Wno-unused-parameter

HEADERS += src/x2play.h src/xmms2conn.h
SOURCES += src/main.cpp src/x2play.cpp src/xmms2conn.cpp

MOC_DIR = mocs
OBJECTS_DIR = build

RESOURCES = x2play.qrc

#Global Shortcut (from Psi ((http://psi-im.org) )

HEADERS += globalshortcut/globalshortcutmanager.h globalshortcut/globalshortcuttrigger.h
SOURCES += globalshortcut/globalshortcutmanager.cpp

unix:!mac {
	SOURCES += globalshortcut/globalshortcutmanager_x11.cpp
}
win32: {
	SOURCES += globalshortcut/globalshortcutmanager_win.cpp
}
mac: {
	SOURCES += globalshortcut/globalshortcutmanager_mac.cpp
}
